package top.rainbowecho.upload.config;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author rainbow
 * @since 2019/12/6 21:23
 */
@ConfigurationProperties(prefix = "blog.fs")
@Getter
@Setter
@NoArgsConstructor
@Component
public class FsProperties {
    private boolean check;

    private String secretKey;

    /**
     * token过期时间，单位为秒
     */
    private int expire;

}
